package com.pactera.madp.cp.api.entity.prod;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 华融湘江产品存款表
 *
 * @author HuHao
 * @date 2022/3/16 9:31
 */
@Data
@ApiModel(value = "产品存款实体")
@TableName("cp_product_deposit")
public class ProdDepositEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "描述")
    private String descr;

    @ApiModelProperty(value = "利率")
    private Float rate;

    @ApiModelProperty(value = "产品分组")
    private Integer type;

    @ApiModelProperty(value = "企业微信用户Id")
    private Integer corpId;

}
